#pragma once
#include "Renderer.h"
#include "Graphics.h"

using namespace DYGraphics;

namespace DYEngine
{
	class SkinnedMeshRenderer: public Renderer
	{
	public:
		SkinnedMeshRenderer();
		bool IsSkinned();
		void Draw();
		~SkinnedMeshRenderer();
	public:
		void Update();
		inline SkinnedMeshPtr GetMesh() const
		{
			return mSkinnedMesh;
		}

		inline void SetMesh(const SkinnedMeshPtr& pMesh)
		{
			mSkinnedMesh = pMesh;
		}
	private:
		SkinnedMeshPtr mSkinnedMesh;
	};
}